package com.sky.service;

import com.sky.domain.UmsMemberLevel;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.utils.PageUtils;
import com.sky.vo.param.UmsMemberLevelVO;

/**
* @author Administrator
* @description 针对表【ums_member_level(会员等级)】的数据库操作Service
* @createDate 2024-06-30 16:45:18
*/
public interface UmsMemberLevelService extends IService<UmsMemberLevel> {

    /**
     * 分页查询会员等级
     * @param vo
     * @return
     */
    PageUtils pageQuery(UmsMemberLevelVO vo);


    /**
     * 添加会员等级
     * @param vo
     * @return
     */
    boolean addUmsMemberLevel(UmsMemberLevelVO vo);

    /**
     * 修改会员等级
     * @param vo
     * @return
     */
    boolean updateUmsMemberLevel(UmsMemberLevelVO vo);

    /**
     * 删除会员等级
     * @param ids
     * @return
     */
    boolean deleteUmsMemberLevel(Long[] ids);

    /**
     * 根据id查询会员等级
     * @param id
     * @return
     */
    UmsMemberLevelVO getUmsMemberLevelById(Long id);

    /**
     * 获取默认会员等级
     * @return
     */
    UmsMemberLevel getDefaultLevel();
}
